﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DTO
{
    public class Rec_BillCollection : List<Rec_Bill>
    {
        public int IndexOf(Rec_Bill item)
        {
            return base.IndexOf(item);
        }
        public void Insert(int index, Rec_Bill item)
        {
            base.Insert(index, item);
        }
        public new void RemoveAt(int index)
        {
            base.RemoveAt(index);
        }
        public Rec_Bill this[int index]
        {
            get
            {
                return base[index];
            }
            set
            {
                base[index] = value;
            }
        }
        public void Add(Rec_Bill item)
        {
            base.Add(item);
        }
        public new void Clear()
        {
            base.Clear();
        }
        public new bool Contains(Rec_Bill item)
        {
            return base.Contains(item);
        }
        public new void CopyTo(Rec_Bill[] array, int arrayIndex)
        {
            base.CopyTo(array, arrayIndex);
        }
        public new int Count
        {
            get
            {
                return base.Count;
            }
        }
        public bool IsReadOnly
        {
            get
            {
                return IsReadOnly;
            }
        }
        public new void Remove(Rec_Bill item)
        {
            base.Remove(item);
        }
        public new IEnumerator<Rec_Bill> GetEnumerator()
        {
            return base.GetEnumerator();
        } 
    }
    public class Rec_Bill
    {
        private int _IdBill;

        public int IdBill
        {
            get { return _IdBill; }
            set { _IdBill = value; }
        }
        private int _IdBookRoom;

        public int IdBookRoom
        {
            get { return _IdBookRoom; }
            set { _IdBookRoom = value; }
        }
        private string _BillCode;

        public string BillCode
        {
            get { return _BillCode; }
            set { _BillCode = value; }
        }
        private double _RoomPrice;

        public double RoomPrice
        {
            get { return _RoomPrice; }
            set { _RoomPrice = value; }
        }
        private double _LaundryPrice;

        public double LaundryPrice
        {
            get { return _LaundryPrice; }
            set { _LaundryPrice = value; }
        }
        private double _MinibarPrice;

        public double MinibarPrice
        {
            get { return _MinibarPrice; }
            set { _MinibarPrice = value; }
        }
        private double _AuxiliaryPrice;

        public double AuxiliaryPrice
        {
            get { return _AuxiliaryPrice; }
            set { _AuxiliaryPrice = value; }
        }
        private double _PhonePrice;

        public double PhonePrice
        {
            get { return _PhonePrice; }
            set { _PhonePrice = value; }
        }
        private double _Total;

        public double Total
        {
            get { return _Total; }
            set { _Total = value; }
        }
        private double _Pay;

        public double Pay
        {
            get { return _Pay; }
            set { _Pay = value; }
        }
        private double _Remain;

        public double Remain
        {
            get { return _Remain; }
            set { _Remain = value; }
        }
        private DateTime _CreateDate;

        public DateTime CreateDate
        {
            get { return _CreateDate; }
            set { _CreateDate = value; }
        }
        private DateTime _UpdateDate;

        public DateTime UpdateDate
        {
            get { return _UpdateDate; }
            set { _UpdateDate = value; }
        }
        private int _UpdateBy;

        public int UpdateBy
        {
            get { return _UpdateBy; }
            set { _UpdateBy = value; }
        }
        private Boolean _Status;

        public Boolean Status
        {
            get { return _Status; }
            set { _Status = value; }
        }
    }
}
